//
//  Wine.m
//  TestWine
//
//  Created by 吴志勇 on 2020/2/26.
//  Copyright © 2020 wzy. All rights reserved.
//

#import "Wine.h"

@implementation Wine

+ (instancetype)wineWithDict:(NSDictionary *)dict{
//    Wine *wine = [[Wine alloc] init];
    Wine *wine = [[self alloc] init];
    wine.name = dict[@"name"];
    wine.image = dict[@"image"];
    wine.money = dict[@"money"];
    return wine;
    
}




@end
